<?php

/**
 * Api Model 类
 * @author: 喵了个咪  <wenzhenxi@vip.qq.com> 2015-07-23
 */
class Model_ProjectMenu extends PhalApi_Model_NotORM {

    protected function getTableName($id) {

        return 'project_menu';
    }

    /**
     * 通过ID 获取项目名称ID
     */
    public function getmIdBypId($mId) {

        return $this->getORM()->select('pId')->where('mId', $mId)->fetch();
    }
}
